package cn.e4j.modular.erp.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDate;
import java.io.Serializable;

import org.springframework.format.annotation.DateTimeFormat;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 銷售合約單頭檔
 * </p>
 *
 * @author wenchuan.li
 * @since 2019-06-08
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("XMDX_T")
public class XmdxT extends PO<XmdxT> {

    private static final long serialVersionUID = 1L;


    private BigDecimal XMDXENT;

    private String XMDXSITE;

    @TableId(value = "XMDXDOCNO", type = IdType.INPUT)
    private String XMDXDOCNO;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime XMDXDOCDT;

    private BigDecimal XMDX000;

    private String XMDX001;

    private String XMDX002;

    private String XMDX003;

    private String XMDX004;

    private String XMDX005;

    private String XMDX006;

    private BigDecimal XMDX007;

    private String XMDX008;

    private String XMDX009;

    private String XMDX010;

    private String XMDX011;

    private String XMDX012;

    private String XMDX013;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime XMDX014;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime XMDX015;

    private String XMDX016;

    private String XMDX017;

    private String XMDX018;

    private String XMDX019;

    private String XMDX020;

    private String XMDX030;

    private String XMDXOWNID;

    private String XMDXOWNDP;

    private String XMDXCRTID;

    private String XMDXCRTDP;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime XMDXCRTDT;

    private String XMDXMODID;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime XMDXMODDT;

    private String XMDXCNFID;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime XMDXCNFDT;

    private String XMDXSTUS;

    private String XMDXUD001;

    private String XMDXUD002;

    private String XMDXUD003;

    private String XMDXUD004;

    private String XMDXUD005;

    private String XMDXUD006;

    private String XMDXUD007;

    private String XMDXUD008;

    private String XMDXUD009;

    private String XMDXUD010;

    private BigDecimal XMDXUD011;

    private BigDecimal XMDXUD012;

    private BigDecimal XMDXUD013;

    private BigDecimal XMDXUD014;

    private BigDecimal XMDXUD015;

    private BigDecimal XMDXUD016;

    private BigDecimal XMDXUD017;

    private BigDecimal XMDXUD018;

    private BigDecimal XMDXUD019;

    private BigDecimal XMDXUD020;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime XMDXUD021;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime XMDXUD022;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime XMDXUD023;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime XMDXUD024;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime XMDXUD025;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime XMDXUD026;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime XMDXUD027;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime XMDXUD028;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime XMDXUD029;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime XMDXUD030;



    @Override
    protected Serializable pkVal() {
        return this.XMDXDOCNO;
    }

}
